package com.es.event;

import org.springframework.context.ApplicationEvent;


/**
 * 创建一个手机到货的事件，继承ApplicationEvent
 */
public class PhoneEvent extends ApplicationEvent {

    /**
     * 到货通知
     */
    public String arrivalNotice;


    public PhoneEvent(String source) {
        super(source);
        this.arrivalNotice = source;
    }

    public String getArrivalNotice() {
        return arrivalNotice;
    }

    public void setArrivalNotice(String arrivalNotice) {
        this.arrivalNotice = arrivalNotice;
    }
}
